package com.example.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 城市总工具包指标月目标值
 * </p>
 *
 * @author liuzhijie
 * @since 2024-05-21 06:18:41
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("etl_dim_sales_dealer_info_his")
public class EtlDimSalesDealerInfoHis implements Serializable {

    private static final long serialVersionUID = 1L;

    //("经销商编号")
    @TableField("dealer_id")
    private Integer dealerId;

    //("经销商代码")
    @TableField("dealer_code")
    private String dealerCode;

    //("经销商名称中文")
    @TableField("dealer_name_cn")
    private String dealerNameCn;

    //("经销商名称英文")
    @TableField("dealer_name_en")
    private String dealerNameEn;

    //("经销商简称")
    @TableField("dealer_short_name")
    private String dealerShortName;

    //("经销商类型代码")
    @TableField("dealer_type_code")
    private Integer dealerTypeCode;

    //("经销商类型名称")
    @TableField("dealer_type_name")
    private String dealerTypeName;

    //("所属经销商代码")
    @TableField("belong_dealer_code")
    private String belongDealerCode;

    //("是否是主店")
    @TableField("is_main_store")
    private Integer isMainStore;

    //("是否是卫星店")
    @TableField("is_satellite_store")
    private Integer isSatelliteStore;

    //("是否DTS经销商")
    @TableField("is_dts_dealer")
    private Integer isDtsDealer;

    //("集团编号")
    @TableField("group_id")
    private Integer groupId;

    //("集团代码")
    @TableField("group_code")
    private String groupCode;

    //("集团名称中文")
    @TableField("group_name_cn")
    private String groupNameCn;

    //("集团名称英文")
    @TableField("group_name_en")
    private String groupNameEn;

    //("集团简称")
    @TableField("group_short_name")
    private String groupShortName;

    //("销售大区代码")
    @TableField("sales_area_code")
    private Integer salesAreaCode;

    //("销售大区名称中文")
    @TableField("sales_area_name_cn")
    private String salesAreaNameCn;

    //("销售大区名称英文")
    @TableField("sales_area_name_en")
    private String salesAreaNameEn;

    //("销售小区代码")
    @TableField("sales_dist_code")
    private Integer salesDistCode;

    //("销售小区名称中文")
    @TableField("sales_dist_name_cn")
    private String salesDistNameCn;

    //("销售小区名称英文")
    @TableField("sales_dist_name_en")
    private String salesDistNameEn;

    //("售后大区代码")
    @TableField("aftersales_area_code")
    private Integer aftersalesAreaCode;

    //("售后大区名称中文")
    @TableField("aftersales_area_name_cn")
    private String aftersalesAreaNameCn;

    //("售后大区名称英文")
    @TableField("aftersales_area_name_en")
    private String aftersalesAreaNameEn;

    //("售后小区代码")
    @TableField("aftersales_dist_code")
    private Integer aftersalesDistCode;

    //("售后小区名称中文")
    @TableField("aftersales_dist_name_cn")
    private String aftersalesDistNameCn;

    //("售后小区名称英文")
    @TableField("aftersales_dist_name_en")
    private String aftersalesDistNameEn;

    //("DTS大区代码")
    @TableField("dts_area_code")
    private Integer dtsAreaCode;

    //("DTS大区名称中文")
    @TableField("dts_area_name_cn")
    private String dtsAreaNameCn;

    //("DTS大区名称英文")
    @TableField("dts_area_name_en")
    private String dtsAreaNameEn;

    //("DTS小区代码")
    @TableField("dts_dist_code")
    private Integer dtsDistCode;

    //("DTS小区名称中文")
    @TableField("dts_dist_name_cn")
    private String dtsDistNameCn;

    //("DTS小区名称英文")
    @TableField("dts_dist_name_en")
    private String dtsDistNameEn;

    //("省份编号")
    @TableField("province_id")
    private Integer provinceId;

    //("省份名称中文")
    @TableField("province_name_cn")
    private String provinceNameCn;

    //("省份名称英文")
    @TableField("province_name_en")
    private String provinceNameEn;

    //("城市编号")
    @TableField("city_id")
    private Integer cityId;

    //("城市名称中文")
    @TableField("city_name_cn")
    private String cityNameCn;

    //("城市名称英文")
    @TableField("city_name_en")
    private String cityNameEn;

    //("集团变更日期")
    @TableField("group_change_date")
    private String groupChangeDate;

    //("变更前集团编号")
    @TableField("ex_group_id")
    private Integer exGroupId;

    //("变更前集团名称中文")
    @TableField("ex_group_name_cn")
    private String exGroupNameCn;

    //("销售大区变更日期")
    @TableField("sales_area_change_date")
    private String salesAreaChangeDate;

    //("变更前销售大区代码")
    @TableField("ex_sales_area_code")
    private Integer exSalesAreaCode;

    //("变更前销售大区名称中文")
    @TableField("ex_sales_area_name_cn")
    private String exSalesAreaNameCn;

    //("销售小区变更日期")
    @TableField("sales_dist_change_date")
    private String salesDistChangeDate;

    //("变更前销售小区代码")
    @TableField("ex_sales_dist_code")
    private Integer exSalesDistCode;

    //("变更前销售小区名称中文")
    @TableField("ex_sales_dist_name_cn")
    private String exSalesDistNameCn;

    //("售后大区变更日期")
    @TableField("aftersales_area_change_date")
    private String aftersalesAreaChangeDate;

    //("变更前售后大区代码")
    @TableField("ex_aftersales_area_code")
    private Integer exAftersalesAreaCode;

    //("变更前售后大区名称中文")
    @TableField("ex_aftersales_area_name_cn")
    private String exAftersalesAreaNameCn;

    //("售后小区变更日期")
    @TableField("aftersales_dist_change_date")
    private String aftersalesDistChangeDate;

    //("变更前售后小区代码")
    @TableField("ex_aftersales_dist_code")
    private Integer exAftersalesDistCode;

    //("变更前售后小区名称中文")
    @TableField("ex_aftersales_dist_name_cn")
    private String exAftersalesDistNameCn;

    //("DTS大区变更日期")
    @TableField("dts_area_change_date")
    private String dtsAreaChangeDate;

    //("变更前DTS大区代码")
    @TableField("ex_dts_area_code")
    private Integer exDtsAreaCode;

    //("变更前DTS大区名称中文")
    @TableField("ex_dts_area_name_cn")
    private String exDtsAreaNameCn;

    //("DTS小区变更日期")
    @TableField("dts_dist_change_date")
    private String dtsDistChangeDate;

    //("变更前DTS小区代码")
    @TableField("ex_dts_dist_code")
    private Integer exDtsDistCode;

    //("变更前DTS小区名称中文")
    @TableField("ex_dts_dist_name_cn")
    private String exDtsDistNameCn;

    //("省份变更日期")
    @TableField("province_change_date")
    private String provinceChangeDate;

    //("变更前省份编号")
    @TableField("ex_province_id")
    private Integer exProvinceId;

    //("变更前省份名称中文")
    @TableField("ex_province_name_cn")
    private String exProvinceNameCn;

    //("城市变更日期")
    @TableField("city_change_date")
    private String cityChangeDate;

    //("变更前城市编号")
    @TableField("ex_city_id")
    private Integer exCityId;

    //("变更前城市名称中文")
    @TableField("ex_city_name_cn")
    private String exCityNameCn;

    //("开业状态")
    @TableField("opening_stat")
    private Integer openingStat;

    //("开业日期")
    @TableField("opening_date")
    private Date openingDate;

    //("关闭日期")
    @TableField("close_date")
    private Date closeDate;

    //("经度")
    @TableField("long")
    private Float l;

    //("纬度")
    @TableField("lat")
    private Float lat;

    //("是否删除")
    @TableField("is_deleted")
    private Integer isDeleted;

    //("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private String createTime;

    //("更新时间")
    @TableField("update_time")
    private String updateTime;

    @TableField("rn_month")
    private Integer rnMonth;

    @TableField("rn_quarter")
    private Integer rnQuarter;

    @TableField("rn_year")
    private Integer rnYear;

    //("分区字段")
    @TableField("pmonth")
    private String pmonth;


}
